package com.qimei.onerice.dao;

import com.qimei.onerice.entity.Dish;

import java.util.List;

public interface DishDao {
	int addDish(Dish dish);
	Dish getDishById(int dishId);
	List<Dish> getAllDishes();
	int updateDish(Dish dish);
	int deleteDish(int dishId);
	List<Dish> getDishListByNameLike(String dishName);
	List<Dish> getDishListByCategoryId(int categoryId);
}
